|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectj3deditor.bin.components.SimpleButtonEvent
public class SimpleButtonEvent
Object that describes the event sent by a SimpleButton.
SimpleButton,
SimpleButtonListener| Constructor Summary | |
|---|---|
SimpleButtonEvent(SimpleButton source)
Creates an instance of SimpleButtonEvent
which is sent by the given object. |
|
SimpleButtonEvent(SimpleButton source,
float x,
float y)
Creates an instance of SimpleButtonEvent
which is sent by the given object and drag distances. |
|
| Method Summary | |
|---|---|
SimpleButton |
getSource()
Returns the sender of this event. |
float |
getX()
Returns the drag distance on X-axis. |
float |
getY()
Returns the drag distance on Y-axis. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleButtonEvent(SimpleButton source)
SimpleButtonEvent
which is sent by the given object.
source - the sender of this event
public SimpleButtonEvent(SimpleButton source,
float x,
float y)
SimpleButtonEvent
which is sent by the given object and drag distances.
source - the sender of this eventx - drag distance on X-axisy - drag distance on Y-axis| Method Detail |
|---|
public SimpleButton getSource()
public float getX()
public float getY()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||